package com.cloudfast.utils.excel;

import java.util.HashMap;
import java.util.Map;

public class ExcelParams<T> {

    private Map<String, ExcelData<T>> sheetData;

    public Map<String, ExcelData<T>> getSheetData() {
        return sheetData;
    }

    public void setSheetData(Map<String, ExcelData<T>> sheetData) {
        this.sheetData = sheetData;
    }

    public void addSheet(String sheetName, ExcelData<T> data) {
        if (sheetData == null) {
            sheetData = new HashMap<>();
        }
        sheetData.put(sheetName, data);
    }

}
